/*  COMP9517 Computer Vision, Semester 2, 2011 - University of New South Wales
   ============================================================================
   |   Group .  | Christian Mostegel & Dong Back Kim                          |
   ============================================================================

    This class is a utility class. There are three main things this class
    performs. Those three things should be occurred in order.

    1. Choosing a preprocessed data file from the local file system.

    2. Loading the chosen preprocessed data file into Qt/OpenCV format.
       (Note that no further analysis is required here)

    3. Returning point cloud and list of the cameras to the visualiser.

 */

#ifndef PREPROCESSEDDATALOADER_
#define PREPROCESSEDDATALOADER_

#include "Loader.h"

class PreprocessedDataLoader : public Loader
{
public:

    PreprocessedDataLoader();

    virtual void load();

public:

    bool loaded() const
    {
        if (m_point_cloud.getPointCount() > 0 && m_cameras.size() > 0 )
            return true;
        else
            return false;
    }
};

#endif // PREPROCESSEDDATALOADER_
